/* 
 * File:   project_item.hpp
 * Author: jolo
 *
 * Created on 11. Oktober 2011, 17:48
 */

#ifndef GUI_PROJECT_ITEM_HPP
#define	GUI_PROJECT_ITEM_HPP

#include <widgets/entity_item.hpp>

namespace model
{
    class project;
    typedef shared_ptr<project> project_ptr;
}

namespace gui
{

    class project_item : public widgets::entity_item
    {
    public:
        project_item(model::project_ptr p);
        virtual ~project_item();

        model::project_ptr project() const
        {
            return p_;
        }
    private:
        model::project_ptr p_;
    };
}

#endif	/* PROJECT_ITEM_HPP */

